﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace DoNet.Entitys
{
    [Serializable]
    [Table("Sys_Area")]
    public class Sys_Area
    {
        public long Id { set; get; }
        public long ParentId { set; get; }
        public int Layers { set; get; }
        public string Level { set; get; } = string.Empty;
        public string EnCode { set; get; } = string.Empty;
        public string FullName { set; get; } = string.Empty;
        public string Pinyin { set; get; } = string.Empty;
        public string SimpleSpelling { set; get; } = string.Empty;
        public string FullIdPath { set; get; } = string.Empty;
        public string AreaCode { set; get; } = string.Empty;
        public string ZipCode { set; get; } = string.Empty;
        public string Province { set; get; } = string.Empty;
        public string City { set; get; } = string.Empty;
        public string District { set; get; } = string.Empty;
        public string Town { set; get; } = string.Empty;
        public int SortCode { set; get; }
        public bool EnabledMark { set; get; }
        public DateTime CreatorTime { set; get; }
        public long CreatorUserId { set; get; }
        public DateTime LastModifyTime { set; get; }
        public long LastModifyUserId { set; get; }
        public bool DeleteMark { set; get; }
        public DateTime? DeleteTime { set; get; }
        public long? DeleteUserId { set; get; }
    }
}
